package com.shop.pojo;

import org.springframework.data.annotation.Transient;

import java.util.Date;

public class Goods {
    private String goodsId;

    private String goodsName;

    private String goodsTag;

    private String goodsImg;

    private Date createTime;

    private Date updateTime;

    private String goodsDetail;

    private String goodsUseDetail;

    private String goodsComponent;

    private String isDiscount;

    private String isHot;

    private String isNew;


    @Transient
    String attrValsId;

    @Transient
    String attrVals;

    @Transient
    Double price;

    @Transient
    int stock;

    @Transient
    int sale;

    public String getGoodsUseDetail() {
        return goodsUseDetail;
    }

    public void setGoodsUseDetail(String goodsUseDetail) {
        this.goodsUseDetail = goodsUseDetail;
    }

    public String getGoodsComponent() {
        return goodsComponent;
    }

    public void setGoodsComponent(String goodsComponent) {
        this.goodsComponent = goodsComponent;
    }

    public String getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(String isDiscount) {
        this.isDiscount = isDiscount;
    }

    public String getIsHot() {
        return isHot;
    }

    public void setIsHot(String isHot) {
        this.isHot = isHot;
    }

    public String getIsNew() {
        return isNew;
    }

    public void setIsNew(String isNew) {
        this.isNew = isNew;
    }

    public String getAttrValsId() {
        return attrValsId;
    }

    public void setAttrValsId(String attrValsId) {
        this.attrValsId = attrValsId;
    }

    public String getAttrVals() {
        return attrVals;
    }

    public void setAttrVals(String attrVals) {
        this.attrVals = attrVals;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getSale() {
        return sale;
    }

    public void setSale(int sale) {
        this.sale = sale;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getgoodsTag() {
        return goodsTag;
    }

    public void setgoodsTag(String goodsTag) {
        this.goodsTag = goodsTag == null ? null : goodsTag.trim();
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg == null ? null : goodsImg.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail == null ? null : goodsDetail.trim();
    }
}